package com.haredot.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.haredot.vo.ResourceViewVo;
import org.apache.solr.client.solrj.beans.Field;

public class ResourceSolrDTO extends ResourceViewVo {
    /**
     * 关键字
     */
    @Field
    private String keywords ;
    /**
     * 日期格式
     */
    @Field("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String createTime ;

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}
